#include "Util.h"

void BuildCircleVertices(const Vector3& center, float radius, int division, Vector3* vertices)
{
	float unit = (float)(M_PI * 2 / division);
	for (int i = 0; i < division; i++)
	{
		vertices[i].x = center.x + cos(unit * i) * radius;
		vertices[i].y = center.y + sin(unit * i) * radius;
	}
}
